<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>金贵银业-视频资料-{$site_name}</title>
		<link rel="stylesheet" href="__PUBLIC__/css/style.css">
		<link rel="stylesheet" href="__PUBLIC__/css/global.css">
		<link rel="stylesheet" href="__PUBLIC__/css/index_style.css">
		<link rel="stylesheet" href="__PUBLIC__/css/index2.css">
		<link rel="stylesheet" href="__PUBLIC__/css/common.css" />
		<script type="text/javascript" src="__PUBLIC__/js/index2.js"></script>
	</head>

	<body>
		<header>
			<div style="max-width:100%;min-width: 1000px; height: 475px; background: url(__PUBLIC__/img/head_wx.jpg) no-repeat center; background-size: cover;">

				<div style=" width: 1000px; height: 50px; margin: 0 auto;">

					<include file="Public:head_search" />
				</div>
				<div style="background: url(__PUBLIC__/img/1_02.jpg) no-repeat;">
					<div style=" width: 1000px; margin: 0 auto; background: url(__PUBLIC__/img/1_03.jpg) no-repeat;">
						<img style="margin-left: 36px;" src="__PUBLIC__/img/1_07.jpg" />
						<!--包含导航页面-->
						<include file="Public/nav" />
					</div>
				</div>
			</div>
		</header>


		<div class="content" style="background:#FFFFFF url(__PUBLIC__/img/indexbg_02.jpg) no-repeat center;background-position: -8px 0px;max-width:100%;min-width: 1000px;">

			<div id="borderColor" style="margin: 0 auto; width: 1000px; height: auto;background:#FFFFFF;top: -10px;position: relative;">

				<div class="fl box-shadow-2" style="border-top: 10px #db261f solid; width: 225px;">
					<div style="text-align: center; padding-top: 30px; padding-bottom: 10px;">
						<img src="__PUBLIC__/img/W_03.jpg" />
					</div>

					<div class="menu_left">

						<ul style="background: url(__PUBLIC__/img/WH_07.jpg) no-repeat 0 0; padding-top: 20px;">
							<li class="show">
								<a href="/video">视频资料</a>
							</li>
							<li>
								<a href="/album">企业相册</a>
							</li>
							<li>
								<a href="/charity">公益活动</a>
							</li>
						</ul>

					</div>
					<div style="clear: both;"></div>
					<div style="text-align: center; padding-top: 45px;background: url(__PUBLIC__/img/WH_07.jpg) no-repeat 0 0;">
						<img src="__PUBLIC__/img/W_03-01.jpg" />
					</div>

				</div>
				<div class="fr" style="border-top: 10px #b59e58 solid; width: 775px;">
					<div style="width: 722px;margin: 0 auto;margin-top: 42px;">
						<h3 style="font-size: 21px;font-weight: 500;line-height: 29px;">视频资料</h3>
						<img src="__PUBLIC__/img/WG_03.jpg" />
					</div>

					<div style="width: 722px;margin: 0 auto;">

						<ul class="viwelist">
							<for name="value" start="0" end="count($list)" >
							<li>
								<a href="__URL__video_detail?id={$list[$value].id}">
									<div style="border: 1px #CCCCCC solid; padding: 13px; width: 317px; height: 196px; overflow: hidden;">
										<div class="viweimg"></div>
										<img class="viweimg2" src="{$list[$value].imgarr}" width="317" height="196"/>
									</div>
								</a>
									<div style="padding: 8px 13px;">
										<label><a href="__URL__video_detail?id={$list[$value].id}">{$list[$value].name|mb_substr=0,15,'utf-8'}</a></label>
										<label class="fr">{$list[$value].create_time|substr=0,10}</label>
									</div>
							</li>
							</for>
						</ul>
						
						<div style="clear: both;"></div>
						<div class="pager">
							<if condition="$count neq 0">
								<a href="__URL__video?page=1">首页</a>
							</if>
							<if condition="$page gt 1 and $count neq 0">
								<a href="__URL__video?page={$page-1}">上一页</a>
							</if>

							<!-- 12345..6-->
							<if condition="$count gt 5 and $count-$page gt 2 and $count-$page gt 0 and $page elt 3">

								<for name="value" start="1" end="6">
									<if condition="$value eq $page">
										<a href="javascript:void(0)" style="border: 1px #E54141 solid;cursor: default;" class="index">{$value}</a>
									</if>
									<if condition="$value neq $page">
										<a href="__URL__video?page={$value}">{$value}</a>
									</if>
								</for>

								<span style="margin: 0 10px;">...</span>
								<a href="__URL__video?page={$count}">{$count}</a>
							</if>

							<!-- 1...12345...6-->
							<if condition="$page-2 gt 1 and $page+2 lt $count">

								<a href="__URL__video?page=1">1</a>
								<span style="margin: 0 10px;">...</span>

								<for name="value" start="$page-2" end="$page+3">
									<if condition="$value eq $page">
										<a href="javascript:void(0)" style="border: 1px #E54141 solid;cursor: default;" class="index">{$value}</a>
									</if>
									<if condition="$value neq $page">
										<a href="__URL__video?page={$value}">{$value}</a>
									</if>
								</for>

								<span style="margin: 0 10px;">...</span>
								<a href="__URL__video?page={$count}">{$count}</a>

							</if>

							<!--1...123-->
							<if condition="$count gt 5 and $count-$page elt 2">
								<a href="__URL__video?page=1">1</a>
								<span style="margin: 0 10px;">...</span>

								<for name="value" start="$count-4" end="$count+1">
									<if condition="$value eq $page">
										<a href="javascript:void(0)" style="border: 1px #E54141 solid;cursor: default;" class="index">{$value}</a>
									</if>
									<if condition="$value neq $page">
										<a href="__URL__video?page={$value}">{$value}</a>
									</if>
								</for>
							</if>

							<!--123-->
							<if condition="$count elt 5">
								<for name="value" start="1" end="$count+1">
									<if condition="$value eq $page">
										<a href="javascript:void(0)" style="border: 1px #E54141 solid;cursor: default;" class="index">{$value}</a>
									</if>
									<if condition="$value neq $page">
										<a href="__URL__video?page={$value}">{$value}</a>
									</if>
								</for>
							</if>

							<if condition="$page lt $count and $count neq 0">
								<a href="__URL__video?page={$page+1}">下一页</a>
							</if>
							<if condition="$count neq 0">
								<a href="__URL__video?page={$count}">末页</a>
							</if>
						</div>
					</div>
				</div>
				<div style="clear: both;">&nbsp;</div>
			</div>

		</div>
		<!--包含底部页面-->
		<include file="Public/footer" />

		<script src='__PUBLIC__/js/jquery-1.8.3.min.js'></script>
		<script src="__PUBLIC__/js/index.js"></script>

	</body>

</html>